package com.ebao.po.pay;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import com.ebao.constants.UserType;

/**
 * @desc 账户
 * @author snow
 * @date 2012-6-29
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "T_Acount")
public class TAcount implements Serializable {

	private Long id;
	private UserType userType;		// 用户类型
	private String referId;			// user/doctor Id
	private float remainMoney;		// 账户余额
	
	@Id
	@GeneratedValue
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getReferId() {
		return referId;
	}

	public void setReferId(String referId) {
		this.referId = referId;
	}

	public UserType getUserType() {
		return userType;
	}

	public void setUserType(UserType userType) {
		this.userType = userType;
	}

	public float getRemainMoney() {
		return remainMoney;
	}

	public void setRemainMoney(float remainMoney) {
		this.remainMoney = remainMoney;
	}
	
}
